@extends('home.base.index')
@section('content')

<div class="content container">
	<div class="blank10"></div>
	<div class="f_l slide-banner">
		<ul class="slide-clip">
			<li><a href="#" title="花朵内衣的私语甜美吸引力难以抗拒" target="_blank"><img alt="花朵内衣的私语甜美吸引力难以抗拒" title="花朵内衣的私语甜美吸引力难以抗拒" src="images/focus/banner1.jpg" width="731" height="312" /></a></li>
			<li><a href="#" title="3月末 必购基础款" target="_blank"><img alt="3月末 必购基础款" title="3月末 必购基础款" src="images/focus/banner2.jpg" width="731" height="312" /></a></li>
			<li><a href="#"  title="经典衬衫全面升级" target="_blank"><img alt="经典衬衫全面升级" title="经典衬衫全面升级" src="images/focus/banner3.jpg" width="731" height="312" /></a></li>
			<li><a href="#" title="带有罩杯的上装，让你的胸部轻松呼吸" target="_blank"><img alt="带有罩杯的上装，让你的胸部轻松呼吸" title="带有罩杯的上装，让你的胸部轻松呼吸" src="images/focus/banner4.jpg" width="731" height="312" /></a></li>
		</ul>
		<ul class="slide-trigger">
			<li class="current"><a href="#" title="花朵内衣的私语甜美吸引力难以抗拒" target="_blank">花朵内衣的私语甜美吸引力难以抗拒</a></li>
			<li><a href="#" title="3月末 必购基础款" target="_blank">3月末 必购基础款</a></li>
			<li><a href="#" title="经典衬衫全面升级" target="_blank">经典衬衫全面升级</a></li>
			<li><a href="#" title="春季女士上装必购款" target="_blank">春季女士上装必购款</a></li>
		</ul>
	</div><!--slide-banner end-->
	<div class="f_r sale_con">
		<div class="w_box mb-10">
			<div class="w_box_t">
				<div class="f_l w_box_t_l"></div>
				<h2 class="f_l red">促销活动</h2>
				<div class="f_r w_box_t_r"></div>
			</div><!--w_box_t end-->
			<div class="w_box_m sale">
				<ul>
					<li><span>·</span><a href="#"><em class="red">[新品]</em> 入秋必败甜美款 蝙蝠袖衫仅￥69</a></li>
					<li><span>·</span><a href="#"><em class="red">[特卖]</em> 145款秋衣 低至3折29元起</a></li>
					<li><span>·</span><a href="#"><em class="red">[疯抢]</em> PINK全面上新 100款秋装49元起</a></li>
					<li><span>·</span><a href="#"><em class="red">[新品]</em> 入秋必败甜美款 蝙蝠袖衫仅￥69</a></li>
					<li><span>·</span><a href="#"><em class="red">[特卖]</em> 145款秋衣 低至3折29元起</a></li>
				</ul>
			</div><!--w_box_m end-->
			<div class="w_box_b">
				<div class="f_l w_box_b_l"></div>
				<div class="f_r w_box_b_r"></div>
			</div><!--w_box_b end-->
		</div><!--w_box end-->
		<div class="promotions"><a href="#" title="圆型保鲜盒3件套价值69元"><img src="images/promotions.jpg" alt="圆型保鲜盒3件套价值69元" width="240" height="168" /></a></div><!--promotions end-->
	</div><!--sale_con end-->

	<div class="clear mb-10"></div>

	<div class="clear mb-10"></div>
	<span style="display:none;">{{ $num=1 }}</span>
	@foreach($list as $v)
	@if($v->pid==0)
	<div class="subject subimg-0{{ $num }}">
		<h1>{{ $v->name }}</h1>
		@foreach($list as $k)
		@if($k->pid==$v->id)
		<a href="#">{{$k->name}}</a><span>|</span>
		@endif
		@endforeach
	</div><!--subject end-->
	<div class="module mb-10 clearfix">
		<div class="f_l focusbrand">
			<div class="focuspic mb-10">
				<a href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/women/150242.jpg" width="397" height="256" alt="" /></a>
				<div class="clear mb-10"></div>
				<a class="f_l" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/women/104620.gif" width="190" height="112" alt="" /></a>
				<a class="f_r" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/women/180128.jpg" width="190" height="112" alt="" /></a>
			</div><!--focuspic end-->
			<div class="brands">
				<div class="brand-head redborder">
					<h2 class="f_l">品牌推荐</h2><a class="f_r more" href="#">查看所有品牌>></a>
				</div>
				<div class="brand-con news-brand bigTarget">
					<ul>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_baitu_134558.gif" width="100" height="32" alt="betu" /></a></li>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_F4_181316.gif" width="100" height="32" alt="" /></a></li>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_luodaier_105210.gif" width="100" height="32" alt="" /></a></li>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_oudiren_111518.gif" width="100" height="32" alt="" /></a></li>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_ousha_111151.gif" width="100" height="32" alt="" /></a></li>
						<li><a rel="nofollow external" href="#"><img class="load_img" src="images/spacer.gif" lazyload="images/brand/logo_yifen_175912.gif" width="100" height="32" alt="" /></a></li>
					</ul>
				</div>
			</div><!--brands end-->
		</div><!--focusbrand end-->
		<div class="f_l modpic news-modpic bigTarget">
			<ul>
                <!-- 计数 -->
            <span style="display:none;">{{$num=1}}</span>
			@foreach($list as $k)
			@if($k->pid==$v->id)
				@foreach($goods as $j)
				@if($j->tid==$k->id)
                <!-- 每个一级分类下显示6件商品后跳出循环 -->
                    @if($num==7)
                        @break
                    @endif
				<li class="picHover" pid="41815">
					<a href="{{url('home/goods').'/'.$j->id}}"><img class="" src="{{ asset('uploads').'/'.$j->pic }}" width="180" height="180" alt="{{ $j->subname }}" /></a>
					<div class="p-name"><a rel="nofollow external" href="{{url('home/goods').'/'.$j->id}}">{{ $j->goodname }}</a></div>
					<div class="p-price"><del title="市场价">¥80.00元</del><strong title="麦路客价">&yen;{{ $j->price }}元</strong></div>
				</li>
                <span style="display:none;">{{$num++}}</span>
				@endif
				@endforeach
			@endif
			@endforeach
			</ul>
		</div><!--modpic end-->
	</div><!--module end-->
	@endif
	<span style="display:none;">{{$num++}}</span>
	@endforeach

	<div class="clear mb-10"></div>

	<div class="f_l comment">
		<h2>友情链接</h2>
		<ul class="comment-con clearfix">
			@foreach($links as $v)
			<li>
				<a href="{{$v->url}}">{{$v->name}}</a>
			</li>
			@endforeach
		</ul>
	</div><!--comment end-->

	<div class="f_r e-zine">
		<h2>免费索取产品目录</h2>
		<p>我们将最新的产品信息发到您的Email</p>
		<form method="post" action="" class="e-zine-con">
			<div class="input-text"><input type="text" name="" value="输入您的电子邮箱地址" id="emailaddress" /></div><button type="submit">订阅</button>
		</form>
	</div>

	<div class="f_r weibo">
		<a class="tengxun" href="#" target="_blank">关注麦路客腾讯微博</a>
		<a class="wangyi" href="#" target="_blank">关注麦路客网易微博</a>
		<a class="souhu" href="#" target="_blank">关注麦路客搜狐微博</a>
		<a class="xinlang" href="#" target="_blank">关注麦路客新浪微博</a>
	</div>

	<div class="clear mb-10"></div>

	<div style="display:none;" class="ico" id="imgICO"></div>
	<div style="position:absolute;display:none;" id="detail"></div>
</div><!--content end-->

@stop
